package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 礼品管理对象 per_gift_management
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerGiftManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 礼品ID */
    private Long relativeId;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long employeeId;

    /** 礼品名称 */
    @Excel(name = "礼品名称")
    private String giftName;

    /** 发放日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发放日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issuePeriod;

    /** 礼品领取截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "礼品领取截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    /** 礼品创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "礼品创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 礼品分配日期 */
    @Excel(name = "礼品分配日期")
    private String assignedDate;

    /** 礼品领取状态 */
    @Excel(name = "礼品领取状态")
    private String status;

    /** 领取日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领取日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date claimedDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setRelativeId(Long relativeId) 
    {
        this.relativeId = relativeId;
    }

    public Long getRelativeId() 
    {
        return relativeId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setGiftName(String giftName) 
    {
        this.giftName = giftName;
    }

    public String getGiftName() 
    {
        return giftName;
    }
    public void setIssuePeriod(Date issuePeriod) 
    {
        this.issuePeriod = issuePeriod;
    }

    public Date getIssuePeriod() 
    {
        return issuePeriod;
    }
    public void setExpirationDate(Date expirationDate) 
    {
        this.expirationDate = expirationDate;
    }

    public Date getExpirationDate() 
    {
        return expirationDate;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setAssignedDate(String assignedDate) 
    {
        this.assignedDate = assignedDate;
    }

    public String getAssignedDate() 
    {
        return assignedDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setClaimedDate(Date claimedDate) 
    {
        this.claimedDate = claimedDate;
    }

    public Date getClaimedDate() 
    {
        return claimedDate;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relativeId", getRelativeId())
            .append("employeeId", getEmployeeId())
            .append("giftName", getGiftName())
            .append("issuePeriod", getIssuePeriod())
            .append("expirationDate", getExpirationDate())
            .append("createdDate", getCreatedDate())
            .append("assignedDate", getAssignedDate())
            .append("status", getStatus())
            .append("claimedDate", getClaimedDate())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
